//
//  MCRecordTool.h
//  TLYL
//
//  Created by MC on 2017/10/19.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCDatePickerView.h"
#import "DatePickerView.h"
#import "MCSignalPickView.h"
#import "MCNaviSelectedPopView.h"
#import "MCPopAlertView.h"
#import "MCGroupPaymentNewModel.h"
#import "MCNaviButton.h"
#import "MCSelectedInputView.h"
#define dicBankCode @{ @"5":@"16",@"8":@"17",@"9":@"19",@"14":@"20",@"15":@"21",@"16":@"22",@"18":@"23",@"19":@"24",@"20":@"25",@"21":@"26",@"22":@"27",@"23":@"28",@"24":@"29",@"25":@"30",@"26":@"31",@"32":@"32",@"33":@"33",@"34":@"34",@"35":@"35",@"36":@"36",@"37":@"37",@"38":@"38",@"39":@"39",@"40":@"40",@"41":@"41",@"42":@"42",@"43":@"43",@"44":@"44",@"45":@"45",@"47":@"47",@"48":@"48",@"50":@"50",@"51":@"51",@"52":@"52",@"53":@"53",@"54":@"54",@"55":@"55",@"57":@"57",@"58":@"58",@"59":@"59",@"60":@"60",@"61":@"61",@"62":@"62",@"63":@"63",@"64":@"64",@"65":@"65",@"66":@"66",@"67":@"67",@"68":@"68",@"69":@"69",@"70":@"70",@"6":@"151",@"12":@"152",@"11":@"153",@"10":@"154",@"13":@"155",@"17":@"156",@"157":@"157",@"71":@"71",@"72":@"72",@"73":@"73",@"74":@"74",@"75":@"75",@"76":@"76",@"77":@"77",@"78":@"78",@"79":@"79",@"80":@"80",@"81":@"81",@"82":@"82",@"83":@"83",@"84":@"84",@"85":@"85",@"86":@"86",@"87":@"87",@"88":@"88",@"89":@"89",@"90":@"90",@"91":@"91",@"92":@"92",@"93":@"93",@"94":@"94",@"95":@"95",@"96":@"96",@"97":@"97",@"98":@"98",@"99":@"99",@"100":@"100",@"101":@"101",@"102":@"102",@"6":@"151",@"12":@"152",@"11":@"153",@"10":@"154",@"13":@"155",@"17":@"156",@"157":@"157"}
@interface MCRecordTool : NSObject

+(NSDate *)getDateWithStr:(NSString *)birthdayStr;
+ (BOOL)bissextile:(int)year;

#pragma mark-帐变记录
+(NSArray *)getSourceCodeArray;
+(NSDictionary *)getSourceCodeDic;
+(NSDictionary *)getCode_SourceDic;
+(MCUserARecordModel *)getAccountType:(MCUserAccountRecordDetailDataModel *)dataSource;

#pragma mark-设置你需要增加或减少的年、月、日即可获得新的日期，上述的表示获取mydate日期前一个月的日期，如果该成+1，则是一个月以后的日期，以此类推都可以计算。
+ (NSDate *)getLaterDateFromDate:(NSDate *)date withYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day;


+ (NSArray *)GetMonthFirstAndLastDay;
#pragma mark- 团队帐变记录
//获取交易类型
+ (MCUserARecordModel *)getJiaoyiType:(int)DetailsSource and:(int)RechargeType andPayTypeName:(NSString *)PayTypeName;

//获取银行名称
+(NSString *)GetName:(NSString *)ID;
@end





















